color

Undocumented in source. Be warned that the author may not have intended to support it.
  1. HipColorf color(float[4] c)
  2. HipColorf color(float r, float g, float b, float a)
  3. HipColor color(ubyte r, ubyte g, ubyte b, ubyte a)
    pragma(inline, true)
    color
    (
    ubyte r
    ,
    ubyte g
    ,
    ubyte b
    ,
    ubyte a = 255
    )
  4. HipColor color(uint c)

Meta